package com.rongke.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.service.IService;
import com.rongke.model.BuyTogetherUser;

import java.util.List;
import java.util.Map;

/**
 * @BuyTogetherUserService
 * @Service
 * @version : Ver 1.0
 */
public interface BuyTogetherUserService extends IService<BuyTogetherUser>{

    List<BuyTogetherUser> selectByCondition(BuyTogetherUser buyTogetherUser);
    List<BuyTogetherUser> selectBuyTogetherUser(Map map);

    Integer selectBuyTogetherUserPageSize(Map map);

    List<BuyTogetherUser> selectBuyTogetherUserPage(Map map);

    JSONObject insertButogetherUserData(Long orderId, String buyTogetherCode);

    List<BuyTogetherUser> selectTogetherUserAndTogetherGoodsList(Map map);
    void buyTogetherTask();
}
